package entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class Record {

  private long id;
  private String order;
  private long supplierid;
  private String date;
  private long agent;
  private long typeid;
  private double money;

  private long warehouseid;

  private long customerid;


  private Ietype ietype;

  private Supplier supplier;
  private Staff staff;
  private Warehouse warehouse;
  private Customer customer;


//  private Staff staff;

//  public Staff getStaff() {
//    return staff;
//  }
//
//  public void setStaff(Staff staff) {
//    this.staff = staff;
//  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier = supplier;
  }

  public Ietype getIetype() {
    return ietype;
  }

  public void setIetype(Ietype ietype) {
    this.ietype = ietype;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getOrder() {
    return order;
  }

  public void setOrder(String order) {
    this.order = order;
  }


  public long getSupplierid() {
    return supplierid;
  }

  public void setSupplierid(long supplierid) {
    this.supplierid = supplierid;
  }


  public String getDate() {
    return date;
  }

  public void setDate(String date) {
    this.date = date;
  }

  public long getTypeid() {
    return typeid;
  }

  public void setTypeid(long typeid) {
    this.typeid = typeid;
  }


  public double getMoney() {
    return money;
  }

  public void setMoney(double money) {
    this.money = money;
  }

  public long getAgent() {
    return agent;
  }

  public void setAgent(long agent) {
    this.agent = agent;
  }

  public long getWarehouseid() {
    return warehouseid;
  }

  public void setWarehouseid(long warehouseid) {
    this.warehouseid = warehouseid;
  }

  public Staff getStaff() {
    return staff;
  }

  public void setStaff(Staff staff) {
    this.staff = staff;
  }

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }

  public long getCustomerid() {
    return customerid;
  }

  public void setCustomerid(long customerid) {
    this.customerid = customerid;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }
}
